package exchange

import (
	"account/controllers/api/v1/exchange"

	"github.com/gin-gonic/gin"
)

/**
  exchange 对应的路由组
*/
func InitPlatRouter(Router *gin.RouterGroup) {
	PlatRouter := Router.Group("exchange")
	{
		PlatRouter.GET("", exchange.PlatAllInfo)               // 查询用户信息
		PlatRouter.POST("add", exchange.PlatAdd)               // 添加用户信息
		PlatRouter.POST("update/:id", exchange.PlatUpdateInfo) // 更新用户信息
		PlatRouter.POST("active/:id", exchange.PlatActive)     // 删除用户信息
		PlatRouter.GET("black", exchange.PlatBlackAllInfo)     // 获取停用的平台信息
	}
}
